//
//  WYCDefaultCenterView.h
//  WYCweibo
//
//  Created by 魏云超 on 15/11/20.
//  Copyright © 2015年 魏云超. All rights reserved.
//

#import <UIKit/UIKit.h>


@class WYCDefaultCenterView;
@protocol WYCDefaultCenterViewDelegate <NSObject>

-(void)defaultCenterView:(WYCDefaultCenterView *)defaultCenterView loginButton:(UIButton *)button;
-(void)defaultCenterView:(WYCDefaultCenterView *)defaultCenterView registButton:(UIButton *)button;
@end


@interface WYCDefaultCenterView : UIView

@property (nonatomic, strong) NSString *iconName;

@property (nonatomic, strong) NSString *infoContent;

@property (nonatomic, assign,getter=isShow) BOOL show;
@property (nonatomic, weak) id<WYCDefaultCenterViewDelegate> delegate;

+(instancetype)defaultCenterView;

-(void)startRun;

-(void)endRun;

@end
